package cn.edu.scau.cmi.linhongxin.simpleFactoryMethod;

public class Produce {
	public static MeatFactory produce(String option) {
		MeatFactory meat=null;
		switch(option) {
		case "pork":
			meat=new Pork();
			break;
		case "beef":
			meat=new Beef();
			break;
		case "chicken":
			meat=new Chicken();
		    break;
		}
		return meat;
	}

}
